package com.woniu.service;

import com.woniu.dto.HisRegisterDto;
import com.woniu.dto.PageDTO;
import com.woniu.moudle.HisRegister;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.param.*;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.ArrayList;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author w
 * @since 2021-11-11
 */
public interface HisRegisterService extends IService<HisRegister> {
    HisRegisterDto newRegistration(AddHisRegisterParam addHisRegisterParam);

//    PageDTO<HisRegisterDto> pastRegistration(Integer patientId);

    HisRegisterDto modifyRegistrationStatus(Integer registerId,Integer registerStatus);

    Boolean deleteRegistration(ArrayList<Integer> ids);

    HisRegisterDto modifyRegistration(ModifyHisRegisterParam modifyHisRegisterParam);

    PageDTO<HisRegisterDto> queryRegistration(ListHisRegisterParam listHisRegisterParam);
    PageDTO<HisRegisterDto> registerToday(TodayRegisterParam todayRegisterParam);
    PageDTO<HisRegisterDto> patientPastRegistration(PastRegistrationParam pastRegistrationParamtientId);
}
